package modele;

import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinColumns;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Transient;
import javax.persistence.Embeddable;

/**
 * <p>Pojo mapping TABLE session</p>
 * <p></p>
 *
 * <p>Generated at Sat Feb 26 23:34:05 CET 2011</p>
 * @author Salto-db Generator v1.0.16 / EJB3
 * 
 */
@Entity
@Table(name = "session")
@SuppressWarnings("serial")
public class Session implements Serializable {

	/**
	 * Attribute idSession.
	 */
	private Integer idSession;
	
	/**
	 * Attribute session.
	 */
	private String session;
	
	/**
	 * Attribute dateSession.
	 */
	private Timestamp dateSession;
	
	
	/**
	 * <p> 
	 * </p>
	 * @return idSession
	 */
	@Basic
	@Id
	@GeneratedValue
	@Column(name = "id_session")
		public Integer getIdSession() {
		return idSession;
	}

	/**
	 * @param idSession new value for idSession 
	 */
	public void setIdSession(Integer idSession) {
		this.idSession = idSession;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return session
	 */
	@Basic
	@Column(name = "session", length = 60)
		public String getSession() {
		return session;
	}

	/**
	 * @param session new value for session 
	 */
	public void setSession(String session) {
		this.session = session;
	}
	
	/**
	 * <p> 
	 * </p>
	 * @return dateSession
	 */
	@Basic
	@Column(name = "dateSession")
		public Timestamp getDateSession() {
		return dateSession;
	}

	/**
	 * @param dateSession new value for dateSession 
	 */
	public void setDateSession(Timestamp dateSession) {
		this.dateSession = dateSession;
	}
	


}